 

package xyz.kongbai121.common.utils;

/**
 * Redis所有Keys
 *
 * @author Mark sunlightcs@gmail.com
 */
public class RedisKeys {

    public static String getSysConfigKey(String key){
        return "sys:config:" + key;
    }

    public static String getSysDictDataKey(String key){
        return "sys:dictData:" + key;
    }

    public static String getSysUserPermissionsKey(String key){
        return "sys:userPermissions:" + key;
    }

    public static String getSysQueryByTokenKey(String key){
        return "sys:queryByToken:" + key;
    }

    public static String getSysQueryUserKey(String key){
        return "sys:queryUser:" + key;
    }

}
